﻿<%@ Page Language="C#" MasterPageFile="~/Shared/FormPage.Master" AutoEventWireup="true" CodeBehind="InstrumentAssemblyExtraApprove.aspx.cs" Inherits="Runda.CMS.Portal.ContractFollowUp.InstrumentAssemblyExtraApprove" StylesheetTheme="GlobleTheme" %>

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <link href="../Content/global.css" rel="stylesheet" type="text/css" />

    <script src="../Content/global.js" type="text/javascript"></script>

    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Grid/Grid.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Find/find.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../Content/settings.aspx"></script>

    <script src="../Content/lookup/Lookup.js" type="text/javascript"></script>

    <link href="../Content/Form/form.css" rel="Stylesheet" type="text/css" />

    <script language="javascript" src="../Content/Detail.js"></script>

    <script src="../Content/util.js" type="text/javascript"></script>
    <script type="text/javascript">
        function OnSubmitConfirm() {
            return confirm('确认提交吗?');
        } 
        
        function OnApproveConfirm() {
            return confirm('确认审核吗?');
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFormArea" runat="server">
  <div class="area" id="areaForm">
        <div style="margin: 5px 0 5px 0">
        </div>
        <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>装机详情</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                            <asp:LinkButton ID="lnkbtnSave" runat="server" OnClick="lnkbtnSave_Click" OnClientClick=""><span class="menu" title="保存" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存</span></span></asp:LinkButton>
                             <asp:LinkButton ID="lnkbtnApprove" runat="server" 
                                 OnClientClick="return OnApproveConfirm();" onclick="lnkbtnApprove_Click"><span class="menu" title="审核" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">审核</span></span></asp:LinkButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
            <div id="areaForm2" class="area">
                <asp:HiddenField runat="server" ID="hiddenRegisterID" />
                <asp:HiddenField runat="server" ID="hiddenAssemblyID" />
                <table cellspacing="0" cellpadding="0" width="100%" height="190px">
                    <tbody>
                        <tr>
                            <td valign="top">
                                <div style="display: inline" id="appForm_tab0" class="tab">
                                    <table style="table-layout: fixed" id="Section1" cellspacing="0" cellpadding="3"
                                        width="100%">
                                        <colgroup>
                                            <col width="110">
                                            <col width="200">
                                            <col width="110">
                                            <col width="200">
                                            <col width="110">
                                            <col width="200">
                                        </colgroup>
                                        <tbody>

                                            <tr>
                                                <td class="blue">
                                                    安装日期
                                                </td>
                                                <td>
                                                    <rad:RadDatePicker ID="InstallDate" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                                <td class="blue">
                                                    仪器开始使用日期
                                                </td>
                                                <td>
                                                    <rad:RadDatePicker ID="InstrumentBeginUse" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                                
                                            </tr>
                                            <tr>
                                                <td class="blue">
                                                    序列号
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="SerialNum" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                                <td class="blue">
                                                    软件版本
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="SoftWareVersion" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="blue">
                                                    供电电压
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtdy1" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                                <td class="blue">
                                                    接地电压
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtdy2" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="blue">是否存在读数</td>
                                                <td><asp:DropDownList ID="HasReadNum" runat="server">
                                                    <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                                      <asp:ListItem Text="是" Value="1"></asp:ListItem>
                                                </asp:DropDownList></td>
                                                <td class="blue">
                                                    读数方式
                                                </td>
                                                <td align="left">
                                                    <asp:DropDownList ID="ReadNumType" runat="server">
                                                        <asp:ListItem Text=" " Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="计数总数" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="读数日平均数" Value="2"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                                
                                            </tr>
                                            <tr>
                                                <td class="blue">
                                                    客户地址
                                                </td>
                                                <td colspan=3">
                                                    <asp:TextBox ID="txtCustomerAddr" runat="server" Width="240px"></asp:TextBox>
                                                </td>
                                                <td>
                                                                客户区域</td>
                                                            <td>
                                                                <asp:DropDownList ID="ddlCustomerArea" runat="server">
                                                                <asp:ListItem Text = "" Value="" />
                                                                <asp:ListItem Text = "上海" Value="上海" />
                                                                <asp:ListItem Text = "江苏" Value="江苏" />
                                                                <asp:ListItem Text = "浙江" Value="浙江" />
                                                                <asp:ListItem Text = "安徽" Value="安徽" />
                                                                <asp:ListItem Text = "江西" Value="江西" />
                                                                <asp:ListItem Text = "福建" Value="福建" />
                                                                <asp:ListItem Text = "山东" Value="山东" />
                                                                <asp:ListItem Text = "北京" Value="北京" />
                                                                <asp:ListItem Text = "天津" Value="天津" />
                                                                <asp:ListItem Text = "重庆" Value="重庆" />
                                                                <asp:ListItem Text = "黑龙江" Value="黑龙江" />
                                                                <asp:ListItem Text = "吉林" Value="吉林" />
                                                                <asp:ListItem Text = "辽宁" Value="辽宁" />
                                                                <asp:ListItem Text = "河北" Value="河北" />
                                                                <asp:ListItem Text = "河南" Value="河南" />
                                                                <asp:ListItem Text = "湖北" Value="湖北" />
                                                                <asp:ListItem Text = "湖南" Value="湖南" />
                                                                <asp:ListItem Text = "陕西" Value="陕西" />
                                                                <asp:ListItem Text = "山西" Value="山西" />
                                                                <asp:ListItem Text = "四川" Value="四川" />
                                                                <asp:ListItem Text = "青海" Value="青海" />
                                                                <asp:ListItem Text = "甘肃" Value="甘肃" />
                                                                <asp:ListItem Text = "海南" Value="海南" />
                                                                <asp:ListItem Text = "广东" Value="广东" />
                                                                <asp:ListItem Text = "贵州" Value="贵州" />
                                                                <asp:ListItem Text = "云南" Value="云南" />
                                                                <asp:ListItem Text = "内蒙古" Value="内蒙古" />
                                                                <asp:ListItem Text = "宁夏" Value="宁夏" />
                                                                <asp:ListItem Text = "西藏" Value="西藏" />
                                                                <asp:ListItem Text = "广西" Value="广西" />
                                                                <asp:ListItem Text = "台湾" Value="台湾" />
                                                                </asp:DropDownList>
                                                               </td>
                                            </tr>
                                            <tr>
                                                <td class="blue">
                                                    仪器所在科室
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtInstrumentWhere" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                                <td class="blue">
                                                    联系电话
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtWhereTel" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="req" style="display:none">
                                                    服务合同
                                                </td>
                                                <td style="display:none">                                                  
                                                    <asp:DropDownList ID="ServiceContract" runat="server">
                                                    
                                                    </asp:DropDownList>
                                                </td>
                                                
                                            </tr>
                                            <tr>
                                                <td class="blue" style="display:none">
                                                    厂家仪器代码
                                                </td>
                                                <td style="display:none">
                                                    <asp:TextBox ID="ManufacInstrumentCode" runat="server" ReadOnly="true" Width="140px"></asp:TextBox>
                                                </td>
                                                <td class="blue" style="display:none">
                                                    公司仪器代码
                                                </td>
                                                <td style="display:none">
                                                    <asp:TextBox runat="server" ID="CompanyInstrumentCode" Width="140px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="yellow">
                                                    保养频率（月）
                                                </td>
                                                <td>
                                                    <rad:RadNumericTextBox ID="GuaranteeFrequency" runat="server">
                                                    </rad:RadNumericTextBox>
                                                </td>
                                                <td class="yellow">
                                                    保养开始日期
                                                </td>
                                                 <td>
                                                    <rad:RadDatePicker ID="GuaranteebeginDate" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                                <td class="yellow">
                                                               保养负责人
                                                            </td>
                                                            <td>
                                                                <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;">
                                                                    <tr>
                                                                        <td nowrap>
                                                                            <div class="lu">
                                                                                <span class="lui" oid="" onclick="openlui();"></span>
                                                                                <asp:Label ID="ConservationManName" runat="server"></asp:Label></div>
                                                                        </td>
                                                                        <td width="25" style="text-align: right;">
                                                                            <img class="lu2" lookupbrowse="" lookupstyle="single" lookupclass="" features="dialogWidth:360px;dialogHeight:500px;resizable:yes;center:yes;status:no;help:no;scroll:no;"
                                                                                lookupcustom="/Lookup/selectcustomeroflookup.aspx?title=user&department=maintain" src="/Images/btn_off_lookup.gif"><input
                                                                                    maptype="lu" class="lu" type="hidden" name="ConservationManGUID" value="" runat="server"
                                                                                    id="ConservationManGUID">
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                            </tr>
                                            <tr>
                                                <td class="yellow">
                                                    回访频率（月）
                                                </td>
                                                <td>
                                                    <rad:RadNumericTextBox ID="ReturnVisitFrequency" runat="server">
                                                    </rad:RadNumericTextBox>
                                                </td>
                                                <td class="yellow">
                                                    回访开始日期
                                                </td>
                                                 <td>
                                                    <rad:RadDatePicker ID="ReturnVisitbeginDate" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                                <td  class="yellow">
                                                               回访负责人
                                                            </td>
                                                            <td>
                                                                <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;">
                                                                    <tr>
                                                                        <td nowrap>
                                                                            <div class="lu">
                                                                                <span class="lui" oid="" onclick="openlui();"></span>
                                                                                <asp:Label ID="returnVisitManName" runat="server"></asp:Label></div>
                                                                        </td>
                                                                        <td width="25" style="text-align: right;">
                                                                            <img class="lu2" lookupbrowse="" lookupstyle="single" lookupclass="" features="dialogWidth:360px;dialogHeight:500px;resizable:yes;center:yes;status:no;help:no;scroll:no;"
                                                                                lookupcustom="/Lookup/selectcustomeroflookup.aspx?title=user&department=maintain" src="/Images/btn_off_lookup.gif"><input
                                                                                    maptype="lu" class="lu" type="hidden" name="returnVisitManGUID" value="" runat="server"
                                                                                    id="returnVisitManGUID">
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                            </tr>
                                            <tr>
                                                <td class="yellow">
                                                    校准频率（月）
                                                </td>
                                                <td>
                                                    <rad:RadNumericTextBox ID="CalibrationFrequency" runat="server">
                                                    </rad:RadNumericTextBox>
                                                </td>
                                                <td class="yellow">
                                                    校准开始日期
                                                </td>
                                                 <td>
                                                    <rad:RadDatePicker ID="CalibrationbeginDate" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                               <td class="yellow">
                                                               校准负责人
                                                            </td>
                                                            <td>
                                                                <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;">
                                                                    <tr>
                                                                        <td nowrap>
                                                                            <div class="lu">
                                                                                <span class="lui" oid="" onclick="openlui();"></span>
                                                                                <asp:Label ID="AdjustManName" runat="server"></asp:Label></div>
                                                                        </td>
                                                                        <td width="25" style="text-align: right;">
                                                                            <img class="lu2" lookupbrowse="" lookupstyle="single" lookupclass="" features="dialogWidth:360px;dialogHeight:500px;resizable:yes;center:yes;status:no;help:no;scroll:no;"
                                                                                lookupcustom="/Lookup/selectcustomeroflookup.aspx?title=user&department=maintain" src="/Images/btn_off_lookup.gif"><input
                                                                                    maptype="lu" class="lu" type="hidden" name="AdjustManGUID" value="" runat="server"
                                                                                    id="AdjustManGUID">
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td> 
                                                
                                            </tr>
                                            <tr>
                                                <td class="yellow">
                                                    读数频率（月）
                                                </td>
                                                <td>
                                                    <rad:RadNumericTextBox ID="ReadNumFrequency" runat="server">
                                                    </rad:RadNumericTextBox>
                                                </td>
                                                <td class="yellow">
                                                    读数记录开始日期
                                                </td>
                                                <td>
                                                    <rad:RadDatePicker ID="ReadNumBeginDate" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker>
                                                </td>
                                                <td class="yellow">读数录入负责人</td>
                                                <td>
                                                                <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;">
                                                                    <tr>
                                                                        <td nowrap>
                                                                            <div class="lu">
                                                                                <span class="lui" oid="" onclick="openlui();"></span>
                                                                                <asp:Label ID="ReadNumManageManName" runat="server"></asp:Label></div>
                                                                        </td>
                                                                        <td width="25" style="text-align: right;">
                                                                            <img class="lu2" lookupbrowse="" lookupstyle="single" lookupclass="" features="dialogWidth:360px;dialogHeight:500px;resizable:yes;center:yes;status:no;help:no;scroll:no;"
                                                                                lookupcustom="/Lookup/selectcustomeroflookup.aspx?title=user&department=maintain" src="/Images/btn_off_lookup.gif"><input
                                                                                    maptype="lu" class="lu" type="hidden" name="ReadNumManageManGUID" value="" runat="server"
                                                                                    id="ReadNumManageManGUID">
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                 
                                            </tr>
                                            <tr>
                                                <td class="req">
                                                    保修情况
                                                </td>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="GuaranteeInfo">
                                                    </asp:DropDownList>
                                                </td>
                                                <td class="req">保修期开始</td>
                                                <td>   <rad:RadDatePicker ID="WarrantyFrom" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker></td>
                                                <td class="req">保修期结束</td>
                                                <td>   <rad:RadDatePicker ID="WarrantyTo" runat="server" Culture="Chinese (People's Republic of China)"
                                                        Skin="WebBlue" Width="140px">
                                                        <DateInput Skin="WebBlue">
                                                        </DateInput>
                                                        <Calendar Skin="WebBlue">
                                                        </Calendar>
                                                    </rad:RadDatePicker></td>
                                            </tr>
                                            <tr>
                                                <td class="req">日使用量预估</td>
                                                <td>
                                                       <rad:RadNumericTextBox ID="DayEstimate" runat="server">
                                                    </rad:RadNumericTextBox>
                                                </td>
                                                
                                                <td class="req">
                                                    是否发放培训证书
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="HasTrainCertificate" runat="server">
                                                        <asp:ListItem Text="是" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                                
                                            </tr>
                                            
                                            <tr>
                                                <td class="req">所属销售员</td>
                                                <td>
                                                       <asp:TextBox ID = "txtSales" runat="server" Width="140px"></asp:TextBox>
                                                </td>
                                                <td class="req">
                                                    有代理商
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlHasAgency" runat="server">
                                                        <asp:ListItem Text="是" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="未知" Value="9" Selected="True"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                           </tr>
                                           <tr>
                                                <td class="req">代理商名称
                                                </td>
                                                <td>
                                                <asp:TextBox ID = "txtAgencyName" runat="server" Width="140px"></asp:TextBox>
                                                </td>    
                                                <td class="req">代理商人员</td>
                                                <td><asp:TextBox ID = "txtAgencyMan" runat="server" Width="140px"></asp:TextBox></td>
                                                <td class="req">代理商电话</td>
                                                <td><asp:TextBox ID = "txtAgencyTel" runat="server" Width="140px"></asp:TextBox></td>
                                            </tr>
                                            <tr style="display:none">
                                                <td>仪器所属厂家
                                                </td>
                                                <td>
                                                <asp:TextBox ID = "InstrumentBelongto" runat="server" Width="140px"></asp:TextBox>
                                                </td>    
                                                <td>仪器型号</td>
                                                <td><asp:TextBox ID = "InstrumentMode" runat="server" Width="140px"></asp:TextBox></td>
                                            </tr>
                                            <tr style="display:none">
                                                <td>仪器应用情况</td>
                                                <td><asp:TextBox ID="InstrumentApplicateSituation" runat="server"></asp:TextBox></td>
                                                <td>仪器状态</td>
                                                <td><asp:DropDownList runat="server" ID="InstrumentStatus" Enabled="true"></asp:DropDownList></td>
                                            </tr>
                                            <tr>
                                                  
                                            </tr>
                                            <tr>
                                                  
                                                            
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div style="margin: 5px 0 5px 0">
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        </div>
        <asp:HiddenField ID="hidCustomerGUID" runat="server" />
</asp:Content>
